import request from '@/utils/request';
import { FillDTO } from '@/api/fill/business/Types';

/**
 * 数据列表显示
 * @param query
 */
export const getList = (query?: FillDTO) => {
  return request({
    url: '/publish/two/manage/getListAll',
    method: 'post',
    data: query
  });
};

/**
 * 保存数据
 * @param data
 */
export const saveIssue = (data?: any) => {
  return request({
    url: '/publish/two/manage/saveIssue',
    method: 'post',
    data: data
  });
};

/**
 * 下达
 * @param data
 */
export const updateStatus = (data?: any) => {
  return request({
    url: '/publish/two/manage/issue',
    method: 'post',
    data: data
  });
};
